package com.thinvent.recommend.mapper;

import com.thinvent.recommend.entity.KbFileLike;
import com.thinvent.recommend.mapper.base.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface KbFileLikeMapper extends BaseMapper<KbFileLike, String> {

    /**
     * 根据userId查询点赞记录
     * @param userId
     * @return
     */
    List<KbFileLike> selectByUserId(@Param("userId") String userId);

}